Optimal. Leaf size=115 \[ -\frac {a^{10}}{x}+10 a^9 b \log (x)+45 a^8 b^2 x+60 a^7 b^3 x^2+70 a^6 b^4 x^3+63 a^5 b^5 x^4+42 a^4 b^6 x^5+20 a^3 b^7 x^6+\frac {45}{7} a^2 b^8 x^7+\frac {5}{4} a b^9 x^8+\frac {b^{10} x^9}{9} \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 115, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {43} \begin {gather*} 60 a^7 b^3 x^2+70 a^6 b^4 x^3+63 a^5 b^5 x^4+42 a^4 b^6 x^5+20 a^3 b^7 x^6+\frac {45}{7} a^2 b^8 x^7+45 a^8 b^2 x+10 a^9 b \log (x)-\frac {a^{10}}{x}+\frac {5}{4} a b^9 x^8+\frac {b^{10} x^9}{9} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rubi steps
\begin {align*} \int \frac {(a+b x)^{10}}{x^2} \, dx &=\int \left (45 a^8 b^2+\frac {a^{10}}{x^2}+\frac {10 a^9 b}{x}+120 a^7 b^3 x+210 a^6 b^4 x^2+252 a^5 b^5 x^3+210 a^4 b^6 x^4+120 a^3 b^7 x^5+45 a^2 b^8 x^6+10 a b^9 x^7+b^{10} x^8\right ) \, dx\\ &=-\frac {a^{10}}{x}+45 a^8 b^2 x+60 a^7 b^3 x^2+70 a^6 b^4 x^3+63 a^5 b^5 x^4+42 a^4 b^6 x^5+20 a^3 b^7 x^6+\frac {45}{7} a^2 b^8 x^7+\frac {5}{4} a b^9 x^8+\frac {b^{10} x^9}{9}+10 a^9 b \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 115, normalized size = 1.00 \begin {gather*} -\frac {a^{10}}{x}+10 a^9 b \log (x)+45 a^8 b^2 x+60 a^7 b^3 x^2+70 a^6 b^4 x^3+63 a^5 b^5 x^4+42 a^4 b^6 x^5+20 a^3 b^7 x^6+\frac {45}{7} a^2 b^8 x^7+\frac {5}{4} a b^9 x^8+\frac {b^{10} x^9}{9} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(a+b x)^{10}}{x^2} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.84, size = 114, normalized size = 0.99 \begin {gather*} \frac {28 \, b^{10} x^{10} + 315 \, a b^{9} x^{9} + 1620 \, a^{2} b^{8} x^{8} + 5040 \, a^{3} b^{7} x^{7} + 10584 \, a^{4} b^{6} x^{6} + 15876 \, a^{5} b^{5} x^{5} + 17640 \, a^{6} b^{4} x^{4} + 15120 \, a^{7} b^{3} x^{3} + 11340 \, a^{8} b^{2} x^{2} + 2520 \, a^{9} b x \log \relax (x) - 252 \, a^{10}}{252 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.96, size = 110, normalized size = 0.96 \begin {gather*} \frac {1}{9} \, b^{10} x^{9} + \frac {5}{4} \, a b^{9} x^{8} + \frac {45}{7} \, a^{2} b^{8} x^{7} + 20 \, a^{3} b^{7} x^{6} + 42 \, a^{4} b^{6} x^{5} + 63 \, a^{5} b^{5} x^{4} + 70 \, a^{6} b^{4} x^{3} + 60 \, a^{7} b^{3} x^{2} + 45 \, a^{8} b^{2} x + 10 \, a^{9} b \log \left ({\left | x \right |}\right ) - \frac {a^{10}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 110, normalized size = 0.96 \begin {gather*} \frac {b^{10} x^{9}}{9}+\frac {5 a \,b^{9} x^{8}}{4}+\frac {45 a^{2} b^{8} x^{7}}{7}+20 a^{3} b^{7} x^{6}+42 a^{4} b^{6} x^{5}+63 a^{5} b^{5} x^{4}+70 a^{6} b^{4} x^{3}+60 a^{7} b^{3} x^{2}+10 a^{9} b \ln \relax (x )+45 a^{8} b^{2} x -\frac {a^{10}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.35, size = 109, normalized size = 0.95 \begin {gather*} \frac {1}{9} \, b^{10} x^{9} + \frac {5}{4} \, a b^{9} x^{8} + \frac {45}{7} \, a^{2} b^{8} x^{7} + 20 \, a^{3} b^{7} x^{6} + 42 \, a^{4} b^{6} x^{5} + 63 \, a^{5} b^{5} x^{4} + 70 \, a^{6} b^{4} x^{3} + 60 \, a^{7} b^{3} x^{2} + 45 \, a^{8} b^{2} x + 10 \, a^{9} b \log \relax (x) - \frac {a^{10}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.12, size = 109, normalized size = 0.95 \begin {gather*} \frac {b^{10}\,x^9}{9}-\frac {a^{10}}{x}+45\,a^8\,b^2\,x+\frac {5\,a\,b^9\,x^8}{4}+10\,a^9\,b\,\ln \relax (x)+60\,a^7\,b^3\,x^2+70\,a^6\,b^4\,x^3+63\,a^5\,b^5\,x^4+42\,a^4\,b^6\,x^5+20\,a^3\,b^7\,x^6+\frac {45\,a^2\,b^8\,x^7}{7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.27, size = 117, normalized size = 1.02 \begin {gather*} - \frac {a^{10}}{x} + 10 a^{9} b \log {\relax (x )} + 45 a^{8} b^{2} x + 60 a^{7} b^{3} x^{2} + 70 a^{6} b^{4} x^{3} + 63 a^{5} b^{5} x^{4} + 42 a^{4} b^{6} x^{5} + 20 a^{3} b^{7} x^{6} + \frac {45 a^{2} b^{8} x^{7}}{7} + \frac {5 a b^{9} x^{8}}{4} + \frac {b^{10} x^{9}}{9} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________